import Vue from 'vue'
import 'babel-polyfill'// 兼容ie
// import Cookies from 'js-cookie'

import 'normalize.css/normalize.css' // A modern alternative to CSS resets

import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import '@/styles/index.scss'
import '@/assets/icon/iconfont.css'
import '@/assets/iconfont/iconfont.css'

import App from './App'
import store from './store'
import router from './router'

import './icons' // icon
import './errorLog' // error log
import './permission' // permission control
import './mock' // simulation data

Vue.use(Element)


Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
